# Maintainer:
# Contributor: Robert Tari <robert at tari dot in>

pkgname=ayatana-ido
pkgver=0.9.3
pkgrel=1
pkgdesc='Ayatana Indicator Display Objects'
arch=(loong64 x86_64)
url='https://github.com/AyatanaIndicators/ayatana-ido'
license=(LGPL2.1 LGPL3)
depends=(gtk3)
makedepends=(cmake gobject-introspection vala gtest)
source=(https://github.com/AyatanaIndicators/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('4df0a21dde4f6e41d2738c7944d1169836d844e5b65364d1897e93766fa93d58')

build() {
  cmake -B build -S $pkgname-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr  
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
